package com.jk.smartelderlycare.dto;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

@Data
@ToString
@TableName(value = "sys_goods")
@ExcelTarget(value = "信息")  //表头
public class SysGoods implements Serializable {
    private static final long serialVersionUID = 8996374009153659377L;
    @TableId(value = "goods_id",type = IdType.AUTO)
    private Long goodsId;
    @Excel(name = "商品编码")
    private String goodsNum;
    @Excel(name = "商品名称")
    private String goodsName;
    @Excel(name = "规格")
    private String specifications;
    @Excel(name = "数量")
    private String goodsQuantity;
    @Excel(name = "单位")
    private String goodsUnit;
    @Excel(name = "单价")
    private Double goodsPrice;

//    @Excel(name = "总额")
//    private Double goodsTotal;

    private String goodsSubtotal;
    private String remark;

    private String goodsImg;

    private String state;

    private String warehouse;

    private Date createData;

    @TableField(exist = false)
    private String supplierNames;

    @TableField(exist = false)
    private String startDate;//开始时间
    @TableField(exist = false)
    private String endDate;//结束时间


}